package com.wmjsoft.view.token

import com.wmjsoft.validator.BaseValidator
import com.wmjsoft.validator.anno.NotBlank
import com.wmjsoft.validator.anno.NotNull

data class TestOneValidator(
    @NotNull("名字不能为空")
    var name:String?,
    @NotBlank("名字不能为空")
    var age:Int?):BaseValidator() {
    constructor() : this(null,null)

    override fun valid() {
        TODO("Not yet implemented")
    }
}
